<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			function over1(t){
				//行内样式
				t.style.fontSize="55px";
				t.style.color="red";
			}
			function out1(t){
				//类样式
				//不起作用，优先级低
				t.className="c3";
			}
		</script>
		<style>
		 .c3{
			 font-size: 10px;
			 color: black;
		 }
		</style>
	</head>
	<body>
		<a href="#" onmouseover="over1(this)" onmouseout="out1(this)">测试数据</a>
	</body>
</html>